<!-- 会员中心主内容区 -->
<div class="page-article">
  <!-- 我的评论 -->
  <div id="member_aftersales" class="member-aftersales">
    <div class="member-tabs">
      <a href="<{link app=aftersales ctl=site_member act=go_billing}>"><em><{t}>开票信息<{/t}></em></a>
      <a href="<{link app=aftersales ctl=site_member act=apply_billing}>" class="active"><em><{t}>开票记录<{/t}></em></a>
      <a href="#" style="float: right;"><em><{t}>可开票额度:<{$billing_advance|cur_odr}><{/t}></a>
    </div>
    <div class="member-mod member-aftersales-record">
      <table class="member-grid">
        <thead>
          <tr>
            <th><{t}>流水号<{/t}></th>
            <th><{t}>发票类型<{/t}></th>
            <th><{t}>申请时间<{/t}></th>
            <th><{t}>公司名称<{/t}></th>
            <th><{t}>发票内容<{/t}></th>
            <th><{t}>开票金额<{/t}></th>
            <th><{t}>可用开票额度<{/t}></th>
            <th><{t}>处理状态<{/t}></th>

          </tr>
        </thead>
        <{if count($return_list)>0 }>
        <{foreach from=$return_list item=list name=name}>
        <tbody class="<{if $smarty.foreach.name.iteration == 1}>first<{/if}>">
          <tr>
            <td class="order"><{$list.billing_id}></td>
            <td class="subject"><{$list.billing_type}></td>
            <td class="datetime"><{$list.last_modify|cdate:'FDATE_FTIME'}></td>
            <td class="datetime"><{$list.company_name}></td>
            <td class="datetime"><{$list.content}></td>
            <td class="datetime"><{$list.billing_money}></td>
            <td class="datetime"><{$list.billing_advance}></td>
            <td class="status">
              <{switch from=$list.status}>
                <{case value=1}><{t}>申请中<{/t}>
                <{case value=2}><{t}>开票完成<{/t}>
                <{case value=3}><{t}>审核未通过<{/t}>
              <{/switch}>
            </td>
            <td class="subject"><{$list.admin_content}></td>
          </tr>
        </tbody>
        <{/foreach}>
        <{else}>
        <tbody>
        <tr class="first"><td colspan="5" class="no-information"><{t}>暂无开票记录<{/t}></td></tr>
        </tbody>
        <{/if}>
      </table>
    </div>
    <{pagers data=$pager}>
  </div>
</div>

